package com.cytech.cloudclinic.bean.req;

import com.cytech.cloudclinic.bean.CustomGroupDrug;
import com.cytech.cloudclinic.bean.Drug;
import com.cytech.cloudclinic.bean.PatientInformation;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class AddPrescription implements Serializable {
    public int patient_id;
    //过敏史
    public String allergic_history;
    //主诉
    public String action;
    //诊断
    public String diagnose;
    //处方分类id
    public String prescription_type;
    //处方id
    public String prescription_id;
    //既往史
    public String previous_history;
    //0: 零时保存 1: 待收费3 2：以收费 : 处方模板
    public int status;
    //药品一级分类
    public int drug_tag;
    //处方药品
    public List<CustomGroupDrug> drugs = new ArrayList<>();
    //患者基本信息
    public PatientInformation patient_information;

    @Override
    public String toString() {
        return "AddPrescription{" +
                "patient_id=" + patient_id +
                ", allergic_history='" + allergic_history + '\'' +
                ", action='" + action + '\'' +
                ", diagnose='" + diagnose + '\'' +
                ", prescription_type=" + prescription_type +
                ", previous_history='" + previous_history + '\'' +
                ", status=" + status +
                ", drug_tag=" + drug_tag +
                ", drugs=" + drugs +
                ", patient_information=" + patient_information +
                '}';
    }
}
